﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace FinalProject.Entities
{
    public class UserRole
    {
        public int Id { get; set; }
        [DisplayName("User Type")]
        [Required]
        [StringLength(20)]
        public string Name { get; set; }

        public DateTime DateCreated { get; set; }
        public DateTime LastUpdated { get; set; }
        public virtual ICollection<User> Users { get; set; }
    }
}